package org.jeecg.modules.tls.csmg.csanswerlike.service;

import org.jeecg.modules.tls.csmg.csanswerlike.entity.CsAnswerLike;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: cs_answer_like
 * @Author: jeecg-boot
 * @Date:   2022-09-03
 * @Version: V1.0
 */
public interface ICsAnswerLikeService extends IService<CsAnswerLike> {
    /*
     * @description: 点赞
     * @author: GGB
     * @date: 2022/9/3 17:50
     * @param: userId
     * @param: qaId
     * @return: Boolean
     **/
    Boolean setLike(String userId,String qaId);

    /*
     * @description: 取消点赞
     * @author: GGB
     * @date: 2022/9/3 17:52
     * @param: userId
     * @param: qaId
     * @return: Boolean
     **/
    Boolean cancelLike(String userId,String qaId);
}
